//---------------------------------------------------------------------
// Copyright (C) 2010 - Cobalt Solution / Sebastien Leon              |
//---------------------------------------------------------------------
// This software is under dual licence: commercial licence + GPL v3   |
// To keep closed your modification of this software, you need to     |
// contact me to obtain a commercial licence.                         |
// Any other derivated work should remain Open Source.                |
// Contact me for a licence, a question or if you want to commit      |
// your code to the main tree: seb at cobaltsolutions dot info        |
//---------------------------------------------------------------------

#ifndef _EDITPREF_H_
#define _EDITPREF_H_

#include "ui_EditPref.h"

class Core;

class EditPref : public QDialog
{
  Q_OBJECT
public:
  EditPref(QWidget* parent, Core& core, bool readOnly);
  ~EditPref() {};

  void UpdateGui  ();
  void UpdateColor();
private:
  Ui::EditPref ui;
  Core&        mr_core;
public slots:
  void selectPath ();
  void selectColor();
  void monitoringChanged();
  void reportingChanged ();
};

#endif // _EDITPREF_H_